

<template>
  <div class="outer">
    <!-- .outer加了filter属性, model fixed定位失效  -->
    <h2>teleport</h2>
    <img src="./1706214417904.jpg" alt="">
    <br>
    <Model/>
  </div>

</template>

<script setup lang="ts" name="App">
  import { ref} from 'vue';
  import Model from './Model.vue'

</script>

<style scoped>
.outer {
  background-color: #ddd;
  box-shadow: 0 0 10px;
  padding: 20px;
  border-radius: 10px;
  width: 400px;
  height: 400px;
  filter: saturate(0%);
}
img {
  width: 300px;
}

</style>
